#!/bin/bash
echo 'start'
echo 'device list:'
./rkdeveloptool ld
echo '---'
echo 'burner loader...'
./rkdeveloptool db rk3308_bs_loader_uart0_m0_emmc_port_support_sd_20220516.bin
sleep 3
echo 'burner img...'
./rkdeveloptool wl 0 *.img
echo 'burner done'
sleep 3
echo 'reset device'
./rkdeveloptool rd